package com.phiture.erp.purchase.api.service;

import com.phiture.erp.purchase.api.pojo.req.ErpPurchaseInReq;
import com.phiture.erp.purchase.api.pojo.resp.ErpPurchaseInItemResp;
import com.phiture.erp.purchase.api.pojo.resp.ErpPurchaseInResp;

import java.util.Collection;
import java.util.List;
import java.util.Map;

public interface ErpPurchaseInApi {
    List<ErpPurchaseInResp> getPurchaseInList(ErpPurchaseInReq req);
    List<ErpPurchaseInItemResp> getPurchaseInItemList(Map<Long, javafx.util.Pair<String, Long>> purchaseInMap);
    void backfillPurchaseInAccountCheckFlag(Collection<Long> purchaseInIds, Boolean accountCheckFlag);
    void updatePurchaseInAccountCheckFlag(Collection<String> purchaseInNos, Boolean accountCheckFlag);
}
